package com.fifth.order.feign;

import com.fifth.common.pojo.entity.Comment;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * @作者：刘壬杉
 * @创建时间 2022/9/2 14:34
 **/
@FeignClient(value = "mrcai-user")
public interface CommentFeign {
    @GetMapping("/api/comment/addComment/{code}/{userid}/{goodsid}")
    public Comment addComment(@PathVariable String code, @PathVariable String userid,@PathVariable String goodsid);

}
